package com.qjd.demo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(url = "${feign.url}", name = "test")
@Component
public interface FeignRepository {

    @GetMapping("/girls")
    public String test();
}
